<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>募捐后台</title>
    <link rel="stylesheet"  type="text/css"  th:href="@{/exam/backExam.css}"/>
</head>
<body>
        <h1>募捐项目</h1>
        <table class="backExamTable" th:each="item:${item}">

            <tr>
                <td class="backExamTd">募捐项目编号</td>
                <td th:text="${item.productId}"></td>
                <td class="button"><a href="/addDonation" class="myButton">添加</a></td>
            </tr>
            <tr>
                <td class="backExamTd">图片路径</td>
                <td th:text="${item.src}"></td>
                <td class="button"><a th:href="@{'/updateDonation/' + ${item.productId}}" class="myButton1">修改</a></td>
            </tr>
            <tr>
                <td class="backExamTd">募捐项目标题</td>
                <td th:text="${item.productTitle}"></td>
                <td class="button"><a th:href="@{'/deleteDonation/' + ${item.productId}}" class="myButton2">删除</a></td>
            </tr>
            <tr>
                <td class="backExamTd">募捐项目内容</td>
                <td th:text="${item.content}"></td>
                <td class="button"></td>
            </tr>
            <tr>
                <td class="backExamTd">募捐项目进度</td>
                <td th:text="${item.progress}"></td>
                <td class="button"></td>
            </tr>
            <br>

        </table>

</body>
</html>